<?php

use think\migration\Migrator;
use think\migration\db\Column;

class AlterAddKuaiZhanCpsMobile extends Migrator
{
    public function up()
    {
        \app\model\Config::findOrCreate([
            'type' => 'h5_host_url',
            'name' => '前端域名',
            'field' => 'h5_host_url_cps_mobile',
            'value' => 'https://ymhuichong.kuaizhan.com/2309462263',
        ]);
    }

    public function down()
    {
        \app\model\Config::where('field','h5_host_url_cps_mobile')->delete();
    }
}
